import request from '@/utils/request'


// 获取载体电量
export function getCarrierEnergy(params) {
  return request({
    url: '/energy/carrierEnergy',
    method: 'get',
    params
  })
}

// 获取容量电量列表
export function getCheckEnergyList(params) {
  return request({
    url: '/energy/checkEnergy/list',
    method: 'get',
    params
  })
}

// 新增容量电量
export function addCheckEnergy(data) {
  return request({
    url: '/energy/checkEnergy',
    method: 'post',
    data
  })
}
// 服务费列表
export function getServiceFeeList(params) {
  return request({
    url: '/energy/serviceFee/list',
    method: 'get',
    params
  })
}
// 新增服务费 
export function addServiceFee(data) {
  return request({
    url: '/energy/serviceFee',
    method: 'post',
    data
  })
}